package cn.ac.cintcm.dao;

import java.util.List;

import cn.ac.cintcm.model.Therapy;

public interface TherapyDao extends GenericDao<Therapy, Long> {

	public List<Therapy> getRecentTherapy();


	public List<Therapy> getAttentionTherapy();


	public List<Therapy> getRecentTherapy(String uid);


	public List<Therapy> getAttentionTherapy(String uid);


	public List<Therapy> getTherapy(String start, String end);
	

	public List<Therapy> getUserTherapy(long uid, String start, String end);
	

	public Therapy getLastTherapy(long uid);
	

	public List<Therapy> getTherapyThread(long uid, long id);
	

	public List<Therapy> getHistoryTherapy(long uid);


	public List<Therapy> getTherapyByPatient(Long uid);


	public Therapy getUnnotifiedTherapyByPatient(Long uid);


	public List<Therapy> getDoctorTherapies(String username);
}
